<!DOCTYPE html>
<html>
<head>
    <script src="angular.js/angular.min.js"></script>
    <script src="js/viewmodel/server_watcher.js"></script>
</head>
<body class="fixed">
    <div class="row">
        <div class="col-md-12 col-lg-12 ">
            <div class="header-body">
                <!-- Pretitle -->
                <h6 class="header-pretitle fs-10 font-weight-bold text-muted text-uppercase mb-1">
                    LOG文件
                </h6>
                <!-- Title -->
                <h1 class="header-title fs-25 font-weight-600">
                    日志记录
                </h1>
            </div>
        </div>
    </div>
    <div class="row mb-4">
        <div class="col-md-3 col-lg-3 ">
            <div class="dd" id="nestable">
                <!-- <ol class="dd-list" >
                    <li class="dd-item" ng-repeat="x in logs" data-id="1" ng-click="toggle(x)">
                        <div class="dd-handle">
                            <span ng-class="x!=currentFile ? 'label bg-green' : 'label bg-red'">
                                <i class="fas fa-laptop"></i>
                            </span> {{x}}
                        </div>
                    </li>
                </ol> -->
                <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
                    <a style="cursor:pointer" ng-repeat="x in logs" ng-class="x!=currentFile ? 'nav-link' : 'nav-link active'" id="v-pills-home-tab" data-toggle="pill" ng-click="toggle(x)" role="tab" aria-controls="v-pills-home" aria-selected="true"> {{x}}</a>
                </div>
            </div>
        </div>
        <div class="col-md-9 col-lg-9 ">
            <div class="timeline"  >
                <div ng-repeat="x in logInfos" class="entry">
                    <div class="title">
                        <h3><span class="badge badge-success-soft fs-13 font-weight-600 mr-1">{{x.infoLevel}}</span>{{x.date}}</h3>
                        <p>{{x.time}}</p>
                    </div>
                    <div class="timeline-body">
                        <h4>{{x.codeFile}}</h4>
                        <h6>{{x.content}}</h6>
                        <!-- <ul>
                            <li>Ut eu nibh in justo dictum egestas eget vel nisl.</li>
                            <li>Aenean at nisi dictum, sollicitudin diam in, ultrices tortor.</li>
                            <li>Phasellus sed orci vitae lorem mattis mattis vel vel leo.</li>
                        </ul> -->
                        <!-- <ul class="tag-references">
                            <li class="commit">
                                <a href="#">
                                    <svg class="octicon octicon-git-commit" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M10.86 7c-.45-1.72-2-3-3.86-3-1.86 0-3.41 1.28-3.86 3H0v2h3.14c.45 1.72 2 3 3.86 3 1.86 0 3.41-1.28 3.86-3H14V7h-3.14zM7 10.2c-1.22 0-2.2-.98-2.2-2.2 0-1.22.98-2.2 2.2-2.2 1.22 0 2.2.98 2.2 2.2 0 1.22-.98 2.2-2.2 2.2z"></path></svg>
                                    cf39d36
                                </a>
                            </li>
                            <li>
                                <a href="#" rel="nofollow">
                                    <svg class="octicon octicon-file-zip" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.5 1H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4.5L8.5 1zM11 14H1V2h3v1h1V2h3l3 3v9zM5 4V3h1v1H5zM4 4h1v1H4V4zm1 2V5h1v1H5zM4 6h1v1H4V6zm1 2V7h1v1H5zM4 9.28A2 2 0 0 0 3 11v1h4v-1a2 2 0 0 0-2-2V8H4v1.28zM6 10v1H4v-1h2z"></path></svg>
                                    zip
                                </a>
                            </li>
                            <li>
                                <a href="#" rel="nofollow">
                                    <svg class="octicon octicon-file-zip" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.5 1H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4.5L8.5 1zM11 14H1V2h3v1h1V2h3l3 3v9zM5 4V3h1v1H5zM4 4h1v1H4V4zm1 2V5h1v1H5zM4 6h1v1H4V6zm1 2V7h1v1H5zM4 9.28A2 2 0 0 0 3 11v1h4v-1a2 2 0 0 0-2-2V8H4v1.28zM6 10v1H4v-1h2z"></path></svg>
                                    tar.gz
                                </a>
                            </li>
                        </ul> -->
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>